﻿@model IEnumerable<HdipCricketClub.Models.ClubFixturePlayer>

@{
    ViewBag.Title = "Review Team";
}

<h2>@ViewBag.Title</h2>

<p>
UNDER CONSTRUCTION STILL WORKING ON THE DROPDOWN LIST RECALL AND VALIDATION
</p>


<strong>@ViewBag.team</strong>  vs  <strong>@ViewBag.opponentClub @ViewBag.opponentTeam</strong><br />
on <strong>@ViewBag.date</strong><br /><br />



<table>
    <tr>
        <th>
            Player:
        </th>
        <th>
            Name:
        </th>
        <th>
            Contacted:
        </th>
        <th>
            Confirmed:
        </th>
    </tr>
@{var i = 1;}
@foreach (var item in Model) {
    <tr>
        <td>
            @Html.EditorFor(modelItem => item.player_no)
        </td>
        <td>
            @Html.DropDownList("player_id")
        </td>
        <td>
            @Html.EditorFor(modelItem => item.contacted)
        </td>
        <td>
            @Html.EditorFor(modelItem => item.confirmed)
        </td>
        
    </tr>
    i++;
}

</table>

<p>
    @Html.ActionLink("Return to Home Page", "Index", "Home")
</p>
